import { createApp } from 'vue'
import router from './router'
import {createStore} from 'vuex'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import home from './home.vue'

// 创建一个新的 store 实例
const store = createStore({
    state: {
      server: 'http://localhost:8020',
      node: '',
    },
    mutations: {
    },
    actions: {
    },
  })

const app = createApp(home)

app.use(router)
app.use(store)
app.use(ElementPlus)
app.mount('#app')
